<!-- 定时任务 表格-->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
        <li><a ui-sref="app.dashboard"><i class="fa fa-home"></i> 首页</a></li>
        <li><a ui-sref="app.sys.job.list">定时任务管理</a></li>
        <li class="active" ng-bind="title"></li>
        <button class="btn btn-sm btn-icon btn-default pull-right" ng-click="$state.reload()"><i
                class="icon icon-refresh"></i></button>
    </ul>
</div>
<div class="wrapper-sm">
    <div class="panel panel-default">
        <div class="panel-body">
            <form name="form" class="form-horizontal form-validation">

                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>spring
                        bean名称</label>
                    <div class="col-sm-10">
                        <input type="text" ng-model="scheduleJob.beanName" class="form-control w-md" ng-maxlength="100"
                               required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>方法名</label>
                    <div class="col-sm-10">
                        <input type="text" ng-model="scheduleJob.methodName" class="form-control w-md"
                               ng-maxlength="100" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">参数</label>
                    <div class="col-sm-10">
                        <input type="text" ng-model="scheduleJob.params" class="form-control w-md" ng-maxlength="100"
                               >
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>cron表达式</label>
                    <div class="col-sm-10">
                        <input type="text" ng-model="scheduleJob.cronExpression" class="form-control w-md"
                               ng-maxlength="100" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <div class="form-group">
                    <label class="col-sm-2 control-label">备注</label>
                    <div class="col-sm-10">
                        <input type="text" ng-model="scheduleJob.remark" class="form-control w-md" ng-maxlength="100"
                               >
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>


                <div class="form-group">
                    <div class="col-sm-4 col-sm-offset-2">
                        <button type="button" class="btn btn-default" ng-disabled="form.$invalid" ng-click="saveData()">
                            保存
                        </button>
                        <a class="btn btn-primary" ui-sref="app.sys.job.list">取消</a>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
